function Rem()
{
    var docE1=document.documentElement,
        oSize=docE1.clientWidth/6.4;
    if(oSize>100)
    {
        oSize=100;//限制REM的值为100//
    }
    docE1.style.fontSize=oSize+"px";
}
window.addEventListener('resize',Rem,false);
Rem();
window.onload=function() {
//  var suoyou=document.getElementById("allbox");
    var cha=document.getElementById("close1");
   
    function closebox() {
        //suoyou.style.display = "none";
        window.history.back();
    }
    cha.addEventListener("touchend",closebox,false);
    //cha.onclick=closebox;
}
